/*
 * @Author: zhaiyujia
 * @Date: 2022-11-16 00:43:31
 * @LastEditors: zhaiyujia
 * @LastEditTime: 2022-11-18 00:14:32
 * @Description: uart test.
 */

#include "Arduino.h"

void setup()
{
    Serial_begin(115200);
    delay(1500); // Wait for STC-ISP to open the serial port
    Serial_println("Hello Arduino-STC.");
}
void loop()
{
    while (Serial_available())
    {
        Serial_write(Serial_read());
    }
}